ie steps.tex (1558B)
1 \begin{tikzpicture} 2 \node[inner sep=0mm] (capital) at (0, 0) {\ is the capital of\ \null}; 3 \node[inner sep=0mm,left=0mm of capital] (paris) {\vphantom{capital of}Paris}; 4 \node[inner sep=0mm,right=0mm of capital] (france) {\vphantom{capital of}France}; 5 6 \draw[color=Dark2-A,thick] (paris.south west) -- (paris.south east); 7 \draw[color=Dark2-A,thick] (france.south west) -- (france.south east); 8 9 \node[below=3mm of paris.south] (e1) {\wdent[\color{Dark2-B}]{90}}; 10 \node[below=3mm of france.south] (e2) {\wdent[\color{Dark2-B}]{142}}; 11 \node[below=3mm of capital.south] (r) {\vphantom{\texttt{Q}}\wdrel[\color{Dark2-C}]{1376}}; 12 13 \draw[color=Dark2-B,arrow] (paris) to (e1); 14 \draw[color=Dark2-B,arrow] (france) to (e2); 15 \draw[color=Dark2-C,arrow] (r|-capital.south) to (r); 16 \draw[color=Dark2-C,arrow] (e1) to (r); 17 \draw[color=Dark2-C,arrow] (e2) to (r); 18 19 \node[anchor=south west,above=5mm of paris.north west,color=Dark2-A,draw,circle,inner sep=0.2mm] (s1) {1}; 20 \node[anchor=west,right=0mm of s1.east,color=Dark2-A,align=left] {\vphantom{chunkin}\\Entit\smash{y}\\chunkin\smash{g}}; 21 22 \node[anchor=north west,below=0.5mm of e1.south west,color=Dark2-B,draw,circle,inner sep=0.2mm] (s2) {2}; 23 \node[anchor=west,right=0mm of s2.east,color=Dark2-B,align=left] {\vphantom{linkin}\\Entit\smash{y}\\linkin\smash{g}}; 24 25 \node[anchor=north east,below=0.5mm of r.south east,color=Dark2-C,draw,circle,inner sep=0.2mm] (s3) {3}; 26 \node[anchor=west,right=0mm of s3.east,color=Dark2-C,align=left] {\vphantom{extraction}\\Relation\\extraction}; 27 \end{tikzpicture}